package com.tentative.competition.schedule.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.tentative.competition.common.core.result.PageResult;
import com.tentative.competition.common.model.schedule.param.ScheduleNewsInfoAddParam;
import com.tentative.competition.common.model.schedule.param.ScheduleOrgInfoAddParam;
import com.tentative.competition.common.model.schedule.resp.HomeDynamicStateResp;
import com.tentative.competition.common.model.schedule.resp.ScheduleNewsInfoResp;
import com.tentative.competition.common.model.schedule.resp.ScheduleOrgInfoResp;
import com.tentative.competition.schedule.domain.ScheduleNewsInfo;

import java.util.List;

/**
 * <p>
 * 大赛新闻信息 服务类
 * </p>
 *
 * @author SmileH
 * @since 2023-06-22
 */
public interface ScheduleNewsInfoService extends IService<ScheduleNewsInfo> {

    PageResult<ScheduleNewsInfoResp> pageList(ScheduleNewsInfoAddParam param);

    ScheduleNewsInfoResp getInfo(Long id);

    void addOrEdit(ScheduleNewsInfoAddParam param);

    Boolean deleteOrgInfo(List<Long> ids);

    List<HomeDynamicStateResp> getDynamicInfo(Long scheduleId,Boolean isAll);
}
